RoundedCornerCompat

constructor(position: Int, radius: Int, centerX: Int, centerY: Int)(source)

Creates a RoundedCornerCompat.

Note that this is only useful for tests. For production code, developers should always use a RoundedCornerCompat obtained from the system via getRoundedCorner or getRoundedCorner.

Parameters

position

the position of the rounded corner.

radius

the radius of the rounded corner.

centerX

the x of center point of the rounded corner.

centerY

the y of center point of the rounded corner.